package com.ytf.test.fifth;

/**
 * @author: YTF
 * @date: 2024/9/19 15:25
 * @version: 1.0
 * @description:
 */
public class MethodInit3 {
    //! int j =g(i); //Illegal forward reference 顺序有问题
    int i = f();
    int f(){
        return 11;
    }
    int g(int val){
        return val*10;
    }
}
